package cn.pzhu.controller.web;

import cn.pzhu.controller.BaseController;
import cn.pzhu.model.College;
import cn.pzhu.model.Company;
import cn.pzhu.services.web.WebCollegeServices;
import cn.pzhu.services.web.WebCompanyServices;

import java.util.List;

/**
 * Created by dongp on 2016/5/10.
 */
public class WebCompanyController extends BaseController {

	private WebCompanyServices companyServices = new WebCompanyServices();

	public void queryCompany() {
		List<Company>  companyList = companyServices.queryCompany(getRequest());
		setAttr("companyList",companyList);
		render("company/company.jsp");
	}
}
